package com.gitee.taotaojs.mybootsuper.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author TaoTaojs
 * @date 2020/8/21 10:25 AM
 * <p>Description</p>
 * <h2>功能描述</h2>
 * 用于批量处理的DTO对象
 * <h3>主要功能：</h3>
 * <ol>
 *     <li>用于Controller层的数据传输，与service分离</li>
 * </ol>
 * <h3>关联类</h3>
 * <p>参考链接：</p>
 * <h2>更新日志</h2>
 * [author]        [time]                      [version]          [desc]
 * TaoTaojs        2020/8/21 10:25 AM             V1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class BatchDTOBean<T> {

    /** 数据信息集合的json */
    @ApiModelProperty(value = "数据信息集合的json，参数名按/save的", required = true)
    @NotNull
    List<T> baseBeanList;

}
